home *** CD-ROM | disk | FTP | other *** search
/ SGI Origin & Onyx2 Patches 1998 May / Origin and Onyx2 System Disk Patches May 1998.img / dist / patchSG0002923.idb / var / sysgen / master.d / bsd.z / bsd
Text File  |  1998-04-01  |  7KB  |  242 lines

  1. *#ident    "$Revision: 2.35 $"
  2. *
  3. * BSD: Berkeley Network Services
  4. *
  5. *FLAG    PREFIX    SOFT    #DEV    DEPENDENCIES
  6. ox    bsd    -    -    socket
  7.                 bsd_init(){}
  8.                 getdtablesize(){nopkg}
  9.                 gethostname(){nopkg}
  10.                 sethostname(){nopkg}
  11.                 getdomainname(){nopkg}
  12.                 setdomainname(){nopkg}
  13. $$$$
  14.  
  15. /*
  16.  * ipforwarding has been made tuneable; see the man page for systune(1M)
  17.  * for details.
  18.  */
  19.  
  20. /*
  21.  * 1 = When forwarding IP packets, and a packet is forwarded using the same
  22.  *     interface on which it arrived and if the source host is on the
  23.  *     directly-attached network, then send an ICMP redirect to the source host.
  24.  *     If the packet was forwarded using a route to a host or to a subnet,
  25.  *     a host redirect is sent, otherwise a network redirect is sent.
  26.  * 0 = The generation of redirects is inhibited.
  27.  */
  28. int ipsendredirects = 1;
  29.  
  30. /*
  31.  * 1 = For gateways (>1 interface and ipforwarding = 1), cause a broadcast
  32.  *     packet destined for network A that arrived on network B's interface
  33.  *     to be broadcast on network A.
  34.  * 0 = Don't broadcast the packet to network A, though this host will receive
  35.  *     the packet.
  36.  */
  37. int ipdirected_broadcast = 0;
  38.  
  39. /*
  40.  * TCP calculates a maximum segment size to use for each connection, and
  41.  * sends no datagrams larger than that size. This size will be no larger
  42.  * than that supported on the outgoing interface.  Furthermore, if the
  43.  * destination is not on the local network, the size will be no larger
  44.  * than 576 bytes, unless the tcp_mtudisc option below is set.
  45.  *
  46.  * subnetsarelocal:
  47.  *   1 = other subnets of a directly-connected subnetted network are
  48.  *       considered to be local.
  49.  *   0 = other subnets are not local.
  50.  *
  51.  *  The tcp_mtudisc option below is a better way to accomplish the same end.
  52.  */
  53. int subnetsarelocal = 1;
  54.  
  55. /*
  56.  * If not zero, limit the maximum ethernet packet size to this
  57.  */
  58. int maxethermtu = 0;
  59.  
  60. /*
  61.  * Debugging:
  62.  *   1 = print debugging messages on the console.
  63.  *   0 = don't print any messages.
  64.  */
  65. int icmpprintfs = 0;
  66. int ipprintfs   = 0;
  67. int tcpprintfs  = 0;
  68.  
  69. /* Use loopback interface for local traffic */
  70. int useloopback = 1;
  71.  
  72. /* loopback interface MTU */
  73. int lomtu = 112+8*1024;            /* MLEN + integral number of pages */
  74.  
  75. /* TCP window sizes/socket space reservation */
  76. unsigned long tcp_sendspace = 60 * 1024;    /* must be < 512K */
  77. unsigned long tcp_recvspace = 60 * 1024;    /* must be < 512K */
  78.  
  79. /* TCP large windows (RFC 1323) control. */
  80. int tcp_winscale = 1;
  81. int tcp_tsecho = 1;
  82.  
  83. /* TCP MTU Discovery control. This controls the use of RFC 1191
  84.  * methods for determining TCP maximum segment sizes.  If this flag is on,
  85.  * TCP will set the dont-fragment flag in the IP headers of TCP segments.
  86.  * The "fragmentation needed" messages from routers will be used to determine
  87.  * new MSS size for TCP connections.  When this flag is set, the MSS of TCP
  88.  * connections will no longer default to tcp_mssdflt when connections are
  89.  * not local.
  90.  */
  91. int tcp_mtudisc = 1;
  92.  
  93. /* TCP MTU Discovery, table of typical MTUs.  If TCP isn't told the
  94.  * MTU of the far side of the complaining router, it will pick the
  95.  * next smaller value from this table.  It contains typical MTUs
  96.  * you might encounter.  This is from Table 7-1 in RFC 1191.
  97.  *
  98.  * Warning: this list must be in descending order and must be
  99.  * terminated with a zero.
  100.  */
  101. int tcp_mtutable[] = {
  102.     65535,
  103.     65280,    /* HIPPI */
  104.     32768,
  105.     17914,
  106.     9180,    /* ATM */
  107.     8166,    /* 802.4 */
  108.     4352,    /* FDDI */
  109.     2002,
  110.     1492,    /* Ethernet/802.3 */
  111.     1006,    /* Arpanet */
  112.     508,
  113.     0 /* ZERO MUST TERMINATE THIS LIST! */ };
  114.  
  115.  
  116. /* UDP maximum datagram size */
  117. unsigned long udp_sendspace = 60 * 1024;    /* must be < (64K - 28) */
  118.  
  119. /* UDP socket buffers: reserve space for (sendspace * recvgram) bytes */
  120. unsigned long udp_recvgrams = 2;        /* clamped to 64K/sendspace */
  121.  
  122. /*
  123.  * Default Time-To-Live (TTL) values:
  124.  *
  125.  * These values should be sufficient for the Internet.
  126.  * Increase them for extremely large internets with large "diameters."
  127.  */
  128. int tcp_ttl = 60;
  129. int udp_ttl = 60;
  130.  
  131. /*
  132.  * Mbuf parameters:
  133.  *
  134.  * Maximum # of pages of memory.  This limits the total memory that
  135.  * network buffers, "mbufs," can consume.
  136.  * A 0 value tells the kernel to set the number based on the
  137.  * amount of physical memory configured in the machine.
  138.  * The current formula is 1/8 of the total physical memory.
  139.  */
  140. int nm_clusters = 0;
  141.  
  142. /*
  143.  * Flush some of the mbuf cache every mbtimeout seconds.
  144.  */
  145. int mbtimeout = 600;
  146.  
  147. /*
  148.  * Timeout value for SO_KEEPALIVE (in units of 0.5 seconds).  Default
  149.  * is 2 hours.  Do not decrease this below 10 minutes.
  150.  */
  151.  
  152. int    tcp_keepidle = (2 * 60 * 60 * 2);
  153.  
  154. /*
  155.  * Time interval for SO_KEEPALIVE probes, after tcp_keepidle timeout has
  156.  * passed (in units of 0.5 seconds).  Default is 75 seconds.
  157.  */
  158.  
  159. int    tcp_keepintvl = (75 * 2);
  160.  
  161. /*
  162.  * TCP maximum persist time
  163.  * This is the absolute longest time we'll persist without a response.
  164.  * If we get a response, we'll keep going even in the face of a zero window,
  165.  * since that's the correct behavior.
  166.  * If we don't get a response, we will terminate the connection.
  167.  * It may terminate sooner if we exceed the RTO by 511 times.
  168.  * The default is 2 hours, the same as tcp_keepidle.
  169.  */
  170.  
  171. int tcp_maxpersistidle = (2 * 60 * 60 * 2);
  172.  
  173. /*
  174.  * TCP 2MSL timer interval.  This should never be lowered unless absolutely
  175.  * necessary.  The TCP specification mandates a value of four minutes;
  176.  * we use 60 seconds for compatibility with previous IRIX releases.
  177.  */
  178.  
  179. int tcp_2msl = (60 * 2);
  180.  
  181. /*
  182.  * Receive side page flip:
  183.  * 0 => do it
  184.  * 1 => fail in fault.c
  185.  * 2 => fail immediately in the m_flip procedure
  186.  */
  187. int m_flip_off = 0;
  188.  
  189. /*
  190.  * Send side Copy On Write:
  191.  * 0 => do it
  192.  * 1 => fail immediately
  193.  */
  194. int m_shget_off = 0;
  195.  
  196. /*
  197.  * 1 = reservations are enforced by the packet scheduler.
  198.  *
  199.  * 0 = reservations are not enforced by the packet scheduler.  Admission
  200.  *     control is still used but all traffic is treated as best effort.
  201.  */
  202.  
  203. int ps_enabled = 1;
  204.  
  205. /*
  206.  *  Use the trusted networking session manager protocols to 
  207.  *  modulate subject attributes between network endpoints.
  208.  *  Should not be enabled unless Trusted Irix is installed.
  209.  *    1 = enabled
  210.  *    0 = disabled
  211.  */
  212.  
  213. int sesmgr_enabled = 0;
  214.  
  215. /*
  216.  * TCP wakeup threshold; set to zero to use default behavior; set to
  217.  * NBPP/2 to improve copy-on-write behavior
  218.  */
  219. int tcp_wakethresh = 0;
  220.  
  221. /*
  222.  * If this is non-zero, it overrides the size of the IP input queue, which
  223.  * defaults to 250 on IP27 and IP30.
  224.  */
  225. int ip_input_qlen = 0;
  226.  
  227. /*
  228.  * RFC1122 3.2.1.3 (d) specifically states that a broadcast address
  229.  * must not be used as a source address.  Setting this to 1 will
  230.  * disable checking for this condition, thus allowing a packet to
  231.  * contain a source address of 0xffffffff.
  232.  */
  233.  
  234. int allow_brdaddr_srcaddr = 0;
  235.  
  236. /*
  237.  * This parameter enables a performance optimization for the connect() system
  238.  * call when used with TCP.  This is believed to be safe, but not enabled by
  239.  * default in 6.4.
  240.  */
  241. int tcp_optimize_connect = 0;
  242.